<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>查看合同订单</title>
    <%@ include file="/WEB-INF/views/include/head.jsp"%>
    <script src="${ctxStatic}/js/jquery-1.9.1.min.js"></script>
    <script src="${ctxStatic}/js/DateTimePicker.js"></script>
    <script src="${ctxStatic}/js/layer.js"></script>
    <script src="${ctxStatic}/js/style.js"></script>
    <link rel="stylesheet" href="${ctxStatic}/css/common_erp.css">
    <link rel="stylesheet" href="${ctxStatic}/css/layerSm.css">
    <c:set value="<%=ResourcesUtil.getConfig(\"reserver_meterial_wait_accept\") %>" var="audit_10"/>
    <style type="text/css">
    
    </style>
    <script type="text/javascript">
    </script>
</head>
<body>   
<div class="layerHeader clearfix">
	<p class="headerTitle">查看定制合同</p>
    <div class="headerButton clearfix">
        <button type="button" onclick="closeWin()"><spring:message code="btn_cancle"/></button>
    </div>
</div>

<div class="smOrderBox showHtml">
    <div class="items clearfix">
        <div class="col-33 clearfix">
            <p class="tit"><spring:message code="contract_edit_customerStyle"/></p>
            <label>${customizationContract.contractNO }</label>
        </div>
        <div class="col-33 clearfix">
            <p class="tit"><spring:message code="contract_edit_orderStatus"/></p>
            <label>${fns:getDictName(customizationContract.orderStatus) }</label>
        </div>
        <div class="col-33 clearfix">
            <p class="tit"><spring:message code="contract_edit_orderType"/></p>
            <label>${fns:getDictName(customizationContract.orderTypeCD)}</label>
        </div>
    </div>
    <div class="items clearfix">
        <div class="col-33 clearfix">
            <p class="tit"><spring:message code="contract_edit_customerName"/></p>
            <label>${customizationContract.venderName }</label>
        </div>
        <div class="col-33 clearfix">
            <p class="tit"><spring:message code="contract_edit_transportMode"/></p>
            <label>${fns:getDictName(customizationContract.contractTransportMode) }</label>
        </div>
        <div class="col-33 clearfix">
            <p class="tit">订单数量</p>
            <label>${customizationContract.orderQuantity }&nbsp;件</label>
        </div>
    </div>
    <div class="clearfix">
        <div class="col-66">
            <div class="items clearfix">        	
                <div class="col-50 clearfix">
                    <p class="tit"><spring:message code="contract_edit_issueDate"/></p>
                    <label><fmt:formatDate value="${customizationContract.contractIssueDate }" pattern="yyyy-MM-dd" /></label>
                </div>
                <div class="col-50 clearfix">
            		<p class="tit"><spring:message code="contract_edit_balanceMode"/></p>
            		<label>${fns:getDictName(customizationContract.contractBalanceMode) }</label>
        		</div>               
            </div>
            <div class="items clearfix haveToBox">        	
                <div class="col-50 clearfix">
                <!-- 货币  -->
                    <p class="tit"><spring:message code="contract_edit_currency" /></p>
           			<label>${fns:getDictName(customizationContract.contractCurrencyCD) }</label>
                </div>
                <div class="col-50 clearfix haveToBox">
                <!-- 汇率  -->
                    <p class="tit"><spring:message code="contract_edit_exchangeRate" /></p>
                    <label><fmt:formatNumber value="${customizationContract.contractExchangeRate }" pattern="#0.000#"/></label>
                </div>
            </div>
        </div>   
        <div class="col-33 items clearfix">
            <p class="tit"><spring:message code="contract_edit_remark"/></p>
            <textarea style="width:230px;">${customizationContract.remark }</textarea>
        </div>
    </div>
            <div class="items clearfix">
                <div class="col-33 clearfix">
                    <p class="tit">导入人</p>
                    <label>${customizationContract.createBy.firstName }</label>
                </div>
                <div class="col-33 clearfix">
                    <p class="tit">导入日期</p>
                    <label><fmt:formatDate value="${customizationContract.createDate }" pattern="yyyy-MM-dd" /></label>
                </div>
            </div>
</div>

<script>
	window.onload = function(){
	$('.tableScrollSm').css('height','325px')
	$('td input').each(function(){
		var tdH = $(this).parents('td').height()
		$(this).css('height',tdH)
		})
	}
	var tableW = $('.tableHead').outerWidth();
	$('.tableScroll').css('width',tableW + 18 + 'px')
$('.showHtml').find('input,select,textarea').attr('disabled','disabled')
</script>
</body>
</html>
